package cn.edu.kzjsxy.graduationproject.mapper;

import cn.edu.kzjsxy.graduationproject.dto.DormitoryDTO;
import cn.edu.kzjsxy.graduationproject.entity.Dormitories;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 宿舍信息表 Mapper 接口
 * </p>
 *
 * @author chén jiā jùn
 * @since 2024-04-14
 */
@Mapper
public interface DormitoriesMapper extends BaseMapper<Dormitories> {

//	根据条件查询宿舍信息
	List<Dormitories> selectDormitoriesByCondition(Dormitories dormitories);

//	根据条件查询宿舍信息（楼栋 单元 宿舍 多表联查）
	List<DormitoryDTO> selectDormitories(DormitoryDTO dormitoryDTO);

}
